package org.niugang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * user服务启动类
 * Copyright: Copyright (c) 2018 863263957@qq.com
 * 
 * @ClassName: SpringCloudConfigApplication.java
 * @version: v1.0.0
 * @author: niugang
 * @date: 2018年9月18日 上午11:10:32
 */
@SpringCloudApplication
@EnableHystrixDashboard // 前提是feign.hystrix.enabled=true
@MapperScan(basePackages = "org.niugang.dao")
public class SpringCloudUserApplication {
	public static void main(String[] args) {
		SpringApplication.run(SpringCloudUserApplication.class, args);
	}
}
